Skip to content

feat: publish asset-manifest v1 from Recast, Repaint and Outpaint sidecars - #69

Merged
IAnMove merged 2 commits into
mainfrom
feat/edit-shot-asset-manifest
Sep 2, 2026
Merged

feat: publish asset-manifest v1 from Recast, Repaint and Outpaint sidecars#69
IAnMove merged 2 commits into
mainfrom
feat/edit-shot-asset-manifest

Conversation

@IAnMove

@IAnMove IAnMove commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Resultado

Siguiente writer de manifiesto: solo Recast / Repaint / Outpaint shot-aware.

  • reutiliza publish_generation_sidecar
  • conserva params/job_id/upload_filenames
  • actor desconocido; tool = recast|repaint|outpaint
  • workspace_id = job.workspace
  • no inventa actor ni Story/Series
  • único PR pendiente que modifica _launch_runtime.py
  • no toca Tools, MiniMax image, Series assembly, Director ni 3D

Verificación local

  • pytest test_execution_mode + test_asset_manifest + test_architecture_contracts: 38 passed

Pendiente de CI. @cursor review sobre este HEAD.


Note

Medium Risk
Touches generation output metadata for three edit tools in _launch_runtime.py, which affects restore/republish behavior but follows an established manifest API with new tests.

Overview
Recast, Repaint, and Outpaint shot-aware sidecar writers no longer write raw .meta.json with json.dump; they now call publish_generation_sidecar with workspace_id from the job and a fixed tool (recast | repaint | outpaint).

That aligns these edit flows with the shared asset-manifest v1 path (same as other generation sidecars): sanitized restorable params still land in the sidecar payload, but publication also records origin/execution metadata with actor: unknown and no invented Story/Series identity.

Tests add parametrized coverage for all three writers (private temp keys stripped, secrets not persisted, stable asset id on rewrite, new id per artifact) and extend the architecture contract so these functions must use publish_generation_sidecar and must not call json.dump directly.

Reviewed by Cursor Bugbot for commit 74da8b4. Configure here.

…ecars

Shot-aware Recast, Repaint and Outpaint keep gallery keys and now write
the canonical sidecar through publish_generation_sidecar, without inventing actor.
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

PR Review — Loreframe Studio

Risk: low
Scope: 2 file(s); +96/-10

Automated review from scripts/analyze_pr.py. This is a heuristic pass (no LLM) so humans still own the merge decision.

Findings

  • No heuristic issues. Still run the CI checklist below.

Changed files

  • modified: app/_launch_runtime.py, tests/test_execution_mode.py

CONTRIBUTING checklist

  • python scripts/verify_clean_repo.py
  • python -m compileall -q app/services app/launch.py scripts
  • cd ui && npm run build if the UI changed
  • No weights, CivitAI sidecars, or generated guides
  • Stays local-first (no required accounts / telemetry)

Posted by the repo PR review workflow. Re-runs on each push to the PR.

@IAnMove

IAnMove commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 0356c8d. Configure here.

AST-extracted Recast/Repaint/Outpaint tests do not inherit module globals.
@IAnMove

IAnMove commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 74da8b4. Configure here.

@IAnMove
IAnMove merged commit db730e3 into main Sep 2, 2026
5 checks passed
@IAnMove
IAnMove deleted the feat/edit-shot-asset-manifest branch September 5, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant